package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.LeaveMessage;
import com.weixing.mall.provider.model.dto.LeaveMessageReplyDto;
import com.weixing.mall.provider.model.query.LeaveMessageQuery;
import com.weixing.mall.provider.model.vo.LeaveMessagePersonVo;
import com.weixing.mall.provider.model.vo.LeaveMessageVo;

import java.util.List;

/**
 * <p>
 * 会员模块-留言表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-13
 */
public interface ILeaveMessageService extends IService<LeaveMessage> {

    IPage<LeaveMessagePersonVo> selectByMemberId(Page page, Long mid);

    IPage<LeaveMessageVo> selectList(Page page, LeaveMessageQuery leaveMessageQuery);

    void reply(LeaveMessageReplyDto leaveMessageReplyDto);

    LeaveMessageVo selectDetail(long id);
}
